package com.heima.apis.admin;

import com.heima.model.admin.dtos.ChannelDto;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;

public interface AdChannelControllerApi {
    public ResponseResult findByNameAndPage(ChannelDto dto);

    public ResponseResult insert(AdChannel adChannel);

    public ResponseResult update(AdChannel adChannel);

    public ResponseResult delete(Integer id);

    public ResponseResult findAll();

    //排序
    public ResponseResult order(Integer ord);
    //上移下移
    public ResponseResult up(Integer ord);

    public ResponseResult down(Integer ord);
}
